package com.joshjung.hover.interactive.projectiles
{
    import com.joshjung.collections.LinkedList;
    import com.joshjung.hover.functional.Viewport;
    import com.joshjung.hover.interactive.PhysicObject;

    /**
     *
     * @author jjung
     */
    public class ProjectileBase extends PhysicObject
    {
        //---------------------------------------------------------------------
        //
        //  Variables
        //
        //---------------------------------------------------------------------
        /**
         * The damage each projectile inflicts.
         */
        protected var damage : Number = 0;

        /**
         * The force each projectile inflicts on its target.
         */
        protected var force : Number = NaN;

        /**
         * The radius of this projectile.
         */
        protected var radius : Number;

        /**
         * The ID of the owner who is firing this bullet.
         */
        protected var ownerID : int;

        //---------------------------------------------------------------------
        //
        //  Constructor
        //
        //---------------------------------------------------------------------
        /**
         *  Constructor
         */
        public function ProjectileBase(viewport : Viewport, loopList : LinkedList, ownerID : int)
        {
            super(viewport, loopList);

            this.ownerID = ownerID;
        }
    }
}
